package kosta.model.member;

import java.util.List;

public interface MemberService {

	public MemberVO login(MemberVO vo) throws Exception;

	public MemberVO idCheck(String id) throws Exception;

	public void update(MemberVO mvo) throws Exception;

	public void leaveMember(String id) throws Exception;

	public void register(MemberVO mvo) throws Exception;

	public List<TestVO> testList(int grade, String id) throws Exception;

	public void gradeUp(MemberVO mvo) throws Exception;
	
	//멤버 관리/////////////////////////////////////////////////////

		public List<MemberVO> getAllMember(String id) throws Exception;
		
		public List<MemberVO> findMemberByGrade(String id, String gradeValue) throws Exception;
		
		public void outMember(String id) throws Exception;
		
		////테스트 관리//////////////////

		public List<TestVO> getAllTest(String question) throws Exception;
		
		public List<TestVO> gradeByTest(String grade,String question) throws Exception;
		
		public void updateTest(TestVO tvo) throws Exception;

		public TestVO findByTest(int no) throws Exception;

		public void removeTest(int no) throws Exception;

		public void insertTest(TestVO tvo) throws Exception;
		
		/////////rank
		
		public MemberVO myLankView(String id) throws Exception;

		public MemberLankVO findByLankID(String id)  throws Exception;

		public void insertMyLank(MemberVO mvo) throws Exception;

		public void updateMyLank(MemberVO mvo) throws Exception;

		public MemberLankVO findByLankIdCount(String id) throws Exception;
		//////
		
		public List<MemberLankVO> lankView() throws Exception;

}
